/*
 * Copyright © 2018 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
*/

@import "../../../../styles/variables.scss";

.profile-actions-popover {
  cursor: pointer;

  .icon-cog-empty {
    fill: white;
    font-size: 23px;
    stroke: $grey-04;
  }

  .popper {
    width: 90px;
    min-width: 90px;
    z-index: 1;

    ul {
      hr {
        height: 1px;
        margin: 5px 8px;
        border-top: 0;
        background-color: $grey-03;
      }

      li.delete-action {
        color: $red-02;
      }
      li.disabled {
        cursor: not-allowed;
        color: $grey-01;
        opacity: 0.5;
      }
    }

    .popper__arrow {
      border-right-color: $grey-05;
      border-bottom-color: $grey-05;
    }
  }

  &:hover {
    .icon-cog-empty {
      stroke: $blue-03;
    }
  }
}
